package com.mask.im.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mask.im.business.model.entity.Notify;
import com.mask.im.business.model.dto.MailDTO;
import com.mask.im.business.model.dto.NotifyUserDTO;
import com.mask.im.business.model.vo.ConditionVO;
import com.mask.im.business.common.model.PageResult;
import com.mask.im.business.common.model.RestResponse;

import java.util.List;


/**
 * @author jian
 */
public interface NotifyService extends IService<Notify> {

	RestResponse<List<NotifyUserDTO>> getUserNotify();

	RestResponse<MailDTO> notifyById(Integer id);

	RestResponse<String> readNotify(Integer id);

	PageResult<Notify> getAdminNotify(ConditionVO conditionVO);

	RestResponse<String> deleteNotify(Integer id);
}

